{load_module name="Find" url="`$site->relroot_path`admin/find.php" assign="mod_find"}
<form name="cad_admin" method="post" action="?action=cadastrar">
<center>
<table width="383" border="0" align="center" cellpadding="3">
	<tr>
		<td colspan="2" align="center" valign="top"><span class="style1"><strong>Cadastrar Disciplina Em Uma Oferta Semestral</strong></span></td>
	</tr>
	<tr><td colspan="2" align="left">&nbsp;</td></tr>


    <tr>
		<td align="left">Disciplina</td>
		<td colspan="3" align="left"><select name="disciplina" >
             <option> Selecione a Disciplina </option>

        {foreach name=dep_loop item=item from=$mod_find->find_alldisciplinas()}
            <option value="{$item.id}">{$item.nome}</option>
        {/foreach}
        </select></td>
	</tr>

	<tr>
		<td align="left">Semestre:</td>
		<td colspan="3" align="left"><select name="semestre" >
             <option> Selecione o Semestre </option>

        {foreach name=dep_loop item=item from=$mod_find->find_allsemestres()}
            <option value="{$item.id}">{$item.semestre}</option>
        {/foreach}
        </select></td>
	</tr>

    <tr>
		<td align="left">Docente:</td>
		<td colspan="3" align="left"><select name="docente" >
             <option> Selecione o Docente </option>

        {foreach name=dep_loop item=item from=$mod_find->find_alldocentes()}
            <option value="{$item.id}">{$item.nome}</option>
        {/foreach}
        </select></td>
	</tr>

	<tr>
		<td align="left">Numero de Vagas: </td>
		<td align="left"><input name="numerodevagas" type="text" id="numerodevagas" size="32" maxlength="14" /></td>
	</tr>

	<tr>
		<td colspan="2" align="left">&nbsp;</td>
	</tr>
	<tr>
		<td colspan="2" align="right"><input name="Reset" type="reset" id="Reset" value="Limpar" />
		<input name="Submit" type="submit" id="Submit" value="Avan&ccedil;ar" /></td>
	</tr>
</table>
</center>
</form>